<?php

require_once("DAO.php");

class SchoolDAO extends DAO
{
	private $conn;
	private $databaseSelected;
	
	function __construct()
	{
	}

	function findAll()
	{
		$schools = array();
		for($i=1;$i<=100;$i++)
		{
			$schools[]= new School($i, "school name ".$i, "suburb ".$i, "state ".$i);
		}
        return $schools;
	}
	function findById($id)
	{
		return new School($id, "school name ".$id, "suburb ".$id, "state ".$id);
	}
}
?>